<page-header [title]="'点击【保存】按钮保存当前页面修改，当前商品【'+title+'】'"></page-header>
<nz-card>
  <nz-tabset [nzSelectedIndex]="companyService.step" (nzSelectedIndexChange)="indexChange($event)">
    <nz-tab [nzTitle]="'活动基础信息'" >
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <step1 #step0  [(title)]="title" *ngIf="!isLoading && companyService.step==0"></step1>
    </nz-tab>
    <nz-tab [nzTitle]="'收益人设置'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <step1points1 #step1_1 *ngIf="!isLoading && companyService.step==1"></step1points1>
    </nz-tab>
    <nz-tab [nzTitle]="'活动轮播图'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <step2 #step1 *ngIf="!isLoading && companyService.step==2"></step2>
    </nz-tab>
    <nz-tab [nzTitle]="'活动积分奖励比率'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <step3 #step2 *ngIf="!isLoading && companyService.step==3"></step3>
    </nz-tab>
  </nz-tabset>
</nz-card>
